{% extends "admin/register/regrecord/change_form.html" %}

{% block content %}
Potential matches for {{psdid}} who is {{peep.geekCode}}
<hr>
# Matches: {{recs|length}}={{peep.matches}}. (One way matches {{peep.oneway}})
<p>

<table>

{% for r in recs %}
<tr style="color: {% cycle 'blue' 'black' %}">
<td>{{ forloop.counter }}</td>
<td>{{ r.psdid2 }}</td>
<td>{{ r.match }}-{% if r.gay_ok %}G{% endif %}{% if r.str_ok %}S{% endif %}</td>
<td>{{ r.person2.miniCode }}</td>
<td>{{ r.person2.matches }}</td>
<td>{{ reg|stringformat:"s" }}</td>
</tr>
{% empty %}
No matches found!
{% endfor %}
</table>

{% endblock %}
